package main

import (
	"fmt"
	"os"
)

func main() {
	fileName := "advance/fileIO/testFiles/test01.txt"
	file, err := os.Open(fileName)
	if err != nil {
		fmt.Println("打开文件错位")
	}
	fmt.Println(file)
	defer file.Close()
}
